﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Rounded_Resizable.aspx.cs"
    Inherits="EngineeringMaster.Administrator.Rounded_Resizable" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </asp:ToolkitScriptManager>

    <div>
        <div id="box1" style="width: 500px; text-align: center; border: solid 1px Blue;">
            你好
        </div>  
          <style type="text/css">
        .handleImage
        {
            width: 20px;
            height: 20px;
             background-color: Green;
        }
        .resizableCss
        {
        	position: relative;
        	float: left;
        	}
    </style>
        <asp:Panel ID="Panel1" runat="server">
            <asp:Image ID="Image1" runat="server" ImageUrl="~/Img/2.png" />
            <asp:ResizableControlExtender ID="Image1_ResizableControlExtender" runat="server"
                Enabled="True" TargetControlID="Panel1" HandleCssClass="handleImage"
                MinimumWidth="50" MinimumHeight="50" MaximumWidth="1600" MaximumHeight="1600" 
                HandleOffsetX="3"
                HandleOffsetY="3" ResizableCssClass="resizableCss">
            </asp:ResizableControlExtender>
        </asp:Panel>
        <asp:RoundedCornersExtender ID="RoundedCornersExtender1" runat="server" Enabled="True"
            TargetControlID="Panel1" BorderColor="Aqua" Color="ActiveBorder" Radius="16">
        </asp:RoundedCornersExtender>
    </div>
    </form>
</body>
</html>
